package com.manbearpig.todue;
/**
  * @author Andre Giron
  * @author Aashish Patel
  */
import java.text.DecimalFormat;
import java.text.NumberFormat;

public class Zone {
	
	
	
	
	private static final NumberFormat nf = new DecimalFormat("##.########");

	
	double latitude, longitude;
	String name;
	
	
	public Zone(double latitude, double longitude, String name)
	{
		this.latitude = latitude;
		this.longitude = longitude;
		this.name = name;
		
	}
	
	
	public double getLat()
	{
		return Double.parseDouble(nf.format(latitude));
	}
	
	
	public double getLon()
	{
		return Double.parseDouble(nf.format(longitude));
	}
	
	public String getName()
	{
		return name;
	}
	
}